package com.cy.store.Mapper;

import com.cy.store.Entity.District;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;


public interface DistrictMapper {
   /**
    * 根据父代号查询区域信息
    * @param parent
    * @return
    */
   List<District> findByParent(String parent);

   String findNameByCode(String code);
}
